Unity Asset Store · User Manual

Motion Core Character Controller

Core locomotion motor and optional first-person add-on for Unity 6.

Version 1.0.0 Unity 6000.0+ Input System

The Coder Guy

Table of Contents

Section numbers match the headings throughout this manual. When printed, each page is numbered in the footer.

This is the single user manual for the Motion Core Character Controller package. Use this document to set up, use, tune, troubleshoot, and extend the Core controller and the optional FPS add-on.

Package layout:

Assets/Character Controller/
  Core/
  FPSFirstPerson/

Core is standalone. The FPS add-on depends on Core.

Start here

New here? Read this order: Section 1 (Requirements) → Section 2 (Fast Setup) → Section 3 (Demo Scenes). Those three get you a working, playable controller in a few minutes. Everything after that is reference material you can read as you need it.

1. Requirements

The controller uses Unity 6 physics APIs such as Rigidbody.linearVelocity.

2. Fast Setup

The Setup Wizard (Tools > Character Controller > Setup Wizard). Highlight the Core/FPS toggle and the Create Controller button.
SCREENSHOT SLOTCapture: The Setup Wizard (Tools > Character Controller > Setup Wizard). Highlight the Core/FPS toggle and the Create Controller button.images/setup-wizard.png
Figure 1. The Setup Wizard (Tools > Character Controller > Setup Wizard). Highlight the Core/FPS toggle and the Create Controller button.

Use the setup wizard first. It is the recommended setup path for buyers.

  1. Import the asset.
  2. Install or enable Unity Input System and Unity UI.
  3. Open Tools > Character Controller > Setup Wizard.
  4. Choose Core or FPS.
  5. Press Create Controller, or disable Create New Player and assign an existing player.
  6. Press Validate from the wizard.
  7. Apply safe fixes if needed.
  8. Press Play.

The wizard adds required components, assigns input assets, applies a motor preset, sets common Rigidbody/CapsuleCollider values, creates a camera rig when requested, and wires FPS components when FPS is selected.

3. Demo Scenes

The Core demo scene in Play mode. Highlight the on-screen HUD and the 'Press F1' overlay hint.
SCREENSHOT SLOTCapture: The Core demo scene in Play mode. Highlight the on-screen HUD and the 'Press F1' overlay hint.images/core-demo-scene.png
Figure 2. The Core demo scene in Play mode. Highlight the on-screen HUD and the 'Press F1' overlay hint.

Menu items:

Generated scenes:

The Core demo includes flat ground, stairs, walkable and steep slopes, uneven terrain, a low ceiling, a ledge/jump section, a moving platform, and an over-height step marker.

The FPS demo includes weapon handling, ADS, recoil, weapon sway, interactions, targets, damage feedback, footsteps, surface detection, parkour, and a movement test gym.

In the demos, press F1 to hide/show HUD and debug overlays.

4. Required Player Components

The player GameObject Inspector. Highlight the Rigidbody, CapsuleCollider, InputHandler and PlayerController components.
SCREENSHOT SLOTCapture: The player GameObject Inspector. Highlight the Rigidbody, CapsuleCollider, InputHandler and PlayerController components.images/player-inspector.png
Figure 3. The player GameObject Inspector. Highlight the Rigidbody, CapsuleCollider, InputHandler and PlayerController components.

Rigidbody

Recommended settings:

PlayerController applies important safety settings at startup, and the validation window can fix common Rigidbody mistakes before play mode.

CapsuleCollider

Recommended starting values:

Use one main body collider on the player root. Put visual meshes, first-person arms, view models, and hitboxes on child objects.

InputHandler

Core serialized fields:

Expected Control actions:

PlayerController

Important serialized fields:

5. Editor Validation

The Validation Window after a passing check. Highlight the Validate button and the Apply Safe Fixes buttons.
SCREENSHOT SLOTCapture: The Validation Window after a passing check. Highlight the Validate button and the Apply Safe Fixes buttons.images/validation-window.png
Figure 4. The Validation Window after a passing check. Highlight the Validate button and the Apply Safe Fixes buttons.

Open Tools > Character Controller > Validation Window.

The validator checks:

Safe fix buttons can:

The validator does not guess project-specific layer names, custom action map names, or final movement tuning.

6. Movement Presets and Tuning

The PlayerController Inspector. Highlight the Motor Settings field with a preset assigned.
SCREENSHOT SLOTCapture: The PlayerController Inspector. Highlight the Motor Settings field with a preset assigned.images/motor-settings.png
Figure 5. The PlayerController Inspector. Highlight the Motor Settings field with a preset assigned.

Included presets live in Assets/Character Controller/Core/Data:

Assign one asset to PlayerController -> Motor Settings to swap movement feel. Duplicate a preset before editing project-specific values.

Speed fields:

Keep speeds in this order for readable tuning:

ProneSpeed < CrouchSpeed <= WalkSpeed < RunSpeed < SprintSpeed

Acceleration fields:

Jump and fall fields:

Ground, stairs, and slopes:

Recommended tuning order:

  1. Set GroundLayerMask and StairsLayerMask.
  2. Set capsule radius and height.
  3. Tune StepHeight to match stair geometry.
  4. Increase GroundSnapDistance only enough to remove small ledge flicker.
  5. Increase GroundStickForce only enough to keep stable contact.
  6. Tune acceleration and deceleration.
  7. Tune jump/fall.
  8. Tune slope speed multipliers last.

Slide fields:

External force field:

Use PlayerController.AddImpulse for impacts, explosions, launch pads, or weapon knockback. Use SetVelocity for authoritative corrections.

7. Camera Setup

Built-In CameraFollow

Add CameraFollow to a camera and assign the player transform as Target. It supports orbiting, shoulder offset, collision, lock-on influence, and auto-follow yaw.

CameraFollow calls PlayerController.SetMainCameraTransform, which makes movement camera-relative.

Optional Cinemachine

Use CharacterCinemachineAdapter when your project uses Cinemachine.

  1. Install Cinemachine from Package Manager.
  2. Create your Cinemachine camera rig.
  3. Add CharacterCinemachineAdapter, or start from Assets/Character Controller/Core/prefabs/CinemachineAdapterRig.prefab.
  4. Assign:
  1. Keep Assign Player Camera Reference enabled.

The adapter stores the Cinemachine reference as a plain Component and uses reflection. Core still imports without Cinemachine installed.

For FPS gameplay, prefer FpsCameraController. Cinemachine is better suited for spectators, cutscenes, kill cams, or third-person modes.

8. Animation Integration

Animation is optional. The controller works without an Animator.

To connect your own Animator Controller:

  1. Add CharacterAnimatorBridge to the same GameObject as PlayerController.
  2. Assign an Animator, or leave it blank so the bridge searches children.
  3. Assign a CharacterAnimatorParameters asset.
  4. Match your Animator Controller parameter names to the mapping asset.

Default parameters:

Blank parameter names are ignored. Missing Animator parameters are ignored, so partial integrations are safe.

Stance values:

MovementState values:

The bridge exposes events for jump, land, slide, vault, mantle, and stance changes. Use those events for animation events, IK, audio, VFX, or camera effects without editing movement states.

The FPS demo builder creates simple demo clips for idle, crouch, prone, and ground slide. They animate a generated capsule body only and are integration examples, not final character art.

9. Input Buffering and Action Priority

The controller resolves short-lived action input through PlayerController buffers.

Built-in priority rules:

  1. FPS parkour modules get first chance to consume jump intent during Update.
  2. Core vault gets the next chance when a valid vault target exists.
  3. Grounded or coyote-time jump runs when no valid parkour action consumed the intent.
  4. Buffered landing jump runs when jump is pressed shortly before landing.
  5. Extra jumps from DoubleJumpModule run only after grounded and coyote-time jumps are no longer valid.
  6. Crouch while sprinting starts a slide only when CanStartSlide() is valid. Otherwise it becomes crouch.
  7. Prone has priority over held crouch in continuous stance input.
  8. Interaction commands do not change locomotion state by default. Interaction systems should request movement locks or state changes explicitly.

Public buffer API:

playerController.BufferJumpIntent();
playerController.BufferParkourIntent();

bool hasJump = playerController.HasBufferedJumpIntent;
bool hasParkour = playerController.HasBufferedParkourIntent;

bool consumedJump = playerController.TryConsumeBufferedJumpIntent();
bool consumedParkour = playerController.TryConsumeBufferedParkourIntent();

playerController.ClearBufferedInputs();

For custom buffered actions:

  1. Buffer input once from your input adapter or command sink.
  2. Resolve it from one owner system in UpdateModule or FixedUpdateModule.
  3. Check action-specific conditions before consuming the buffer.
  4. Consume and clear only when the action actually starts.
  5. Avoid direct state-level input subscriptions for actions that compete with jump, parkour, crouch, prone, slide, or interaction.

10. Moving Platforms

Add MovingPlatform to moving or rotating platforms. It supports Rigidbody platforms and scripted transform platforms. The controller tracks platform transform deltas and preserves inherited velocity when jumping from platforms.

Custom platforms can implement IMovingPlatform:

public interface IMovingPlatform
{
    Transform PlatformTransform { get; }
    Vector3 LinearVelocity { get; }
    Vector3 AngularVelocity { get; }
    Vector3 GetVelocityAtPoint(Vector3 worldPoint);
}

For Rigidbody platforms, MovingPlatform can use Rigidbody.GetPointVelocity. For scripted platforms, it derives velocity from fixed-step transform deltas.

11. Stable Public API

Use public APIs instead of private fields.

State:

Control gates:

Motion and actions:

CharacterSpeedMode covers idle, walk, run, sprint, crouch, prone, slide, air, dash, vault, and parkour.

Custom scripted parkour states should implement ICharacterParkourState so state snapshots and animation bridge report parkour without relying on class-name conventions.

12. Extension Patterns

SkillModule

Use SkillModule for gameplay features that run alongside core states.

public class MySkill : SkillModule
{
    protected override void OnInitialize() {}
    protected override void OnCleanup() {}
    public override void UpdateModule(float deltaTime) {}
    public override void FixedUpdateModule(float deltaTime) {}
}

InputExtensionModule

Use InputExtensionModule to read additional action maps from InputHandler assets.

public class MyInputExtension : InputExtensionModule
{
    protected override void OnActionsEnabled() {}
    protected override void OnActionsDisabled() {}
}

Add-on packages may depend on Core. Core should not depend on add-ons.

13. FPS Add-On Setup

The Setup Wizard with FPS selected. Highlight the FPS toggle and the Assign Demo Rifle checkbox.
SCREENSHOT SLOTCapture: The Setup Wizard with FPS selected. Highlight the FPS toggle and the Assign Demo Rifle checkbox.images/fps-wizard.png
Figure 6. The Setup Wizard with FPS selected. Highlight the FPS toggle and the Assign Demo Rifle checkbox.

Fast path:

  1. Open Tools > Character Controller > Setup Wizard.
  2. Choose FPS.
  3. Press Create Controller, or configure an existing player.
  4. Leave Assign Demo Rifle enabled for a first working setup.
  5. Press Validate.
  6. Press Play.

Manual requirements:

Expected FPS actions:

The FPS wizard wires the command bus, camera, view motion, ADS, recoil, weapon sway, weapon manager, interaction, inventory, footsteps, hitmarker feedback, parkour, and FPSModule.

14. FPS Systems

Weapons

Create weapon assets from Create > Character Controller > FPS > Weapon Definition.

Important systems:

ADS

WeaponDefinition implements IAdsProvider. Each weapon can define multiple AdsSightDefinition entries for iron sights, optics, scopes, or alternate sight positions.

Useful callbacks:

Recoil

Create recoil profiles from Create > Character Controller > FPS > Recoil Profile.

Profiles support:

RecoilController applies recoil through camera and weapon-view offsets, so weapon firing code stays independent from recoil behavior.

Weapon Sway

Create sway profiles from Create > Character Controller > FPS > Weapon Sway Profile.

Sway sources:

WeaponSwayProfile exposes curves and amplitudes per source, ADS reduction, and smoothing. Weapon sway and camera bob can be tuned or disabled independently.

Damage

Use HealthComponent on players, NPCs, or destructibles. Add DamageHitbox to child colliders for head, torso, limb, armor, or weak-point routing.

Included modifier examples:

Damage payloads and snapshots are designed for multiplayer-friendly replication.

Interaction

FpsInteractor raycasts from the FPS camera and talks only to IInteractable and IHoldInteractable.

Useful events:

Use IInteractionCondition components for rules such as distance, locked state, inventory keys, quest state, faction, or authority checks.

Inventory

Create item assets from Create > Character Controller > FPS > Inventory.

FpsInventory supports stackable items, ammo counts, weapon items, equipment slots, and quick access slots. InventoryWeaponLoadoutBinder can rebuild the WeaponManager loadout from equipped WeaponItemDefinition assets.

Footsteps And Surfaces

Create surface assets from Create > Character Controller > FPS > Surface Profile. Add SurfaceIdentifier to surfaces or configure SurfaceDetector layer mappings.

FootstepController emits walking, running, and crouching footsteps. IFootstepEffectReceiver is available for custom VFX, decals, or dust.

Hitmarkers

Create a hitmarker profile from Create > Character Controller > FPS > Hitmarker Settings.

Use:

Damage confirmations are published by HealthComponent through DamageEventBus, so hitmarkers are not coupled to guns or projectiles.

Projectiles

Create projectile tuning assets from Create > Character Controller > FPS > Projectile Ballistics Profile.

Projectile features:

Parkour

Create parkour tuning assets from Create > Character Controller > FPS > Parkour Settings.

Supported mechanics:

Wall running intentionally does not trigger from a head-on jump into a wall. By default it requires recent jump intent, enough starting height above walkable ground, forward/sprint input, side-wall alignment, and movement along the wall. If conditions fail, the controller falls normally and does not keep the player attached to the wall.

During active wall-run, WallRunControlledDownwardSpeed controls downward velocity. The run ends when the player releases required input, looks or moves away from the wall direction, reaches walkable ground, loses the wall, or reaches WallRunDuration.

15. FPS Multiplayer Architecture

The FPS add-on is networking-ready but transport-free. It does not depend on Netcode for GameObjects, FishNet, Mirror, Photon, or any networking package.

Command flow:

State flow:

For multiplayer projects, keep FPSModule but disable or remove FpsLocalInputCommandSource on non-owning proxies.

16. Troubleshooting

Use Tools > Character Controller > Validation Window first.

Character Does Not Move

Input Map Missing

Bad Layer Masks

Jitter On Stairs

Cannot Stand From Crouch Or Prone

Camera Not Rotating

FPS Input Not Firing

Slides Do Not Start

Jump Buffer Or Coyote Time Does Not Work

Moving Platforms Slip Or Jitter

17. Migration Notes

Current package contains:

Core is standalone. FPS depends on Core.

Buyer-visible migration points:

18. Support Checklist

When reporting a problem, include: